package com.xcx.bo;

import java.io.Serializable;
import java.util.Date;

/**
 * calcu_skin
 * @author 
 */
public class CalcuSkin implements Serializable {
    /**
     * 皮肤编号
     */
    private String skinNo;

    /**
     * 皮肤信息编号
     */
    private String skinInfoNo;

    /**
     * 皮肤类型
     */
    private String skinType;

    /**
     * 皮肤名称
     */
    private String skinName;

    /**
     * 皮肤描述
     */
    private String skinDesc;

    /**
     * 皮肤图片
     */
    private String skinImageUrl;

    /**
     * 皮肤状态 1-有效 0-无效
     */
    private String skinStatus;

    /**
     * 扩展信息
     */
    private String extInfo;

    /**
     * 创建时间
     */
    private Date createdDate;

    /**
     * 更新时间
     */
    private Date updatedDate;

    private static final long serialVersionUID = 1L;

    public String getSkinNo() {
        return skinNo;
    }

    public void setSkinNo(String skinNo) {
        this.skinNo = skinNo;
    }

    public String getSkinInfoNo() {
        return skinInfoNo;
    }

    public void setSkinInfoNo(String skinInfoNo) {
        this.skinInfoNo = skinInfoNo;
    }

    public String getSkinType() {
        return skinType;
    }

    public void setSkinType(String skinType) {
        this.skinType = skinType;
    }

    public String getSkinName() {
        return skinName;
    }

    public void setSkinName(String skinName) {
        this.skinName = skinName;
    }

    public String getSkinDesc() {
        return skinDesc;
    }

    public void setSkinDesc(String skinDesc) {
        this.skinDesc = skinDesc;
    }

    public String getSkinImageUrl() {
        return skinImageUrl;
    }

    public void setSkinImageUrl(String skinImageUrl) {
        this.skinImageUrl = skinImageUrl;
    }

    public String getSkinStatus() {
        return skinStatus;
    }

    public void setSkinStatus(String skinStatus) {
        this.skinStatus = skinStatus;
    }

    public String getExtInfo() {
        return extInfo;
    }

    public void setExtInfo(String extInfo) {
        this.extInfo = extInfo;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Date getUpdatedDate() {
        return updatedDate;
    }

    public void setUpdatedDate(Date updatedDate) {
        this.updatedDate = updatedDate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        CalcuSkin other = (CalcuSkin) that;
        return (this.getSkinNo() == null ? other.getSkinNo() == null : this.getSkinNo().equals(other.getSkinNo()))
            && (this.getSkinInfoNo() == null ? other.getSkinInfoNo() == null : this.getSkinInfoNo().equals(other.getSkinInfoNo()))
            && (this.getSkinType() == null ? other.getSkinType() == null : this.getSkinType().equals(other.getSkinType()))
            && (this.getSkinName() == null ? other.getSkinName() == null : this.getSkinName().equals(other.getSkinName()))
            && (this.getSkinDesc() == null ? other.getSkinDesc() == null : this.getSkinDesc().equals(other.getSkinDesc()))
            && (this.getSkinImageUrl() == null ? other.getSkinImageUrl() == null : this.getSkinImageUrl().equals(other.getSkinImageUrl()))
            && (this.getSkinStatus() == null ? other.getSkinStatus() == null : this.getSkinStatus().equals(other.getSkinStatus()))
            && (this.getExtInfo() == null ? other.getExtInfo() == null : this.getExtInfo().equals(other.getExtInfo()))
            && (this.getCreatedDate() == null ? other.getCreatedDate() == null : this.getCreatedDate().equals(other.getCreatedDate()))
            && (this.getUpdatedDate() == null ? other.getUpdatedDate() == null : this.getUpdatedDate().equals(other.getUpdatedDate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getSkinNo() == null) ? 0 : getSkinNo().hashCode());
        result = prime * result + ((getSkinInfoNo() == null) ? 0 : getSkinInfoNo().hashCode());
        result = prime * result + ((getSkinType() == null) ? 0 : getSkinType().hashCode());
        result = prime * result + ((getSkinName() == null) ? 0 : getSkinName().hashCode());
        result = prime * result + ((getSkinDesc() == null) ? 0 : getSkinDesc().hashCode());
        result = prime * result + ((getSkinImageUrl() == null) ? 0 : getSkinImageUrl().hashCode());
        result = prime * result + ((getSkinStatus() == null) ? 0 : getSkinStatus().hashCode());
        result = prime * result + ((getExtInfo() == null) ? 0 : getExtInfo().hashCode());
        result = prime * result + ((getCreatedDate() == null) ? 0 : getCreatedDate().hashCode());
        result = prime * result + ((getUpdatedDate() == null) ? 0 : getUpdatedDate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", skinNo=").append(skinNo);
        sb.append(", skinInfoNo=").append(skinInfoNo);
        sb.append(", skinType=").append(skinType);
        sb.append(", skinName=").append(skinName);
        sb.append(", skinDesc=").append(skinDesc);
        sb.append(", skinImageUrl=").append(skinImageUrl);
        sb.append(", skinStatus=").append(skinStatus);
        sb.append(", extInfo=").append(extInfo);
        sb.append(", createdDate=").append(createdDate);
        sb.append(", updatedDate=").append(updatedDate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}